package com.xmy.cultivate.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.xmy.cultivate.entity.Grade;
import com.xmy.cultivate.entity.Staff;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.mapper.AdminMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 员工 服务类
 * </p>
 *
 * @author min
 * @since 2022-07-26
 */
public interface IStaffService extends IService<Staff> {

    void batchUpdateQyWeChartId();

    public abstract boolean saveTo(Staff staff);

    public abstract boolean updateTo(Staff staff);

    public abstract Staff findOneById(Long id);

    public abstract IPage<Staff> findAll(IPage<?> page, Wrapper wrapper);
}
